package com.jwsoft.manager.common.vo.eduAddressTree;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 格式化的地址信息
 *
 * @author fangs
 */
@Data
public class AddressVO {
    /**
     * 国家
     **/
    private String country;

    /**
     * 省
     **/
    private String province;

    private String provinceAlias;

    private Long provinceId;

    private String provinceCode;

    private String city;

    private String cityAlias;

    private Long cityId;

    private String cityCode;

    private Long districtId;

    private String district;

    private String districtAlias;

    private String districtCode;

    private Long townId;

    private String town;

    private String townAlias;

    private String townCode;

    private Long villageId;

    private String village;

    private String villageAlias;

    private String villageCode;

    /**
     * 原始地址
     */
    private String originAdd;

    /**
     * 名称
     */
    private String name;

    /**
     * 详细地址
     */
    private String detail;

    private Long detailId;

    private String detailAlias;

    /**
     * 楼房编号  几幢
     */
    private String houseNumber;

    /**
     * 单元编号
     */
    private String unitNumber;

    /**
     * 门派号
     */
    @Schema(name = "roomNumber", title = "门派号")
    private String roomNumber;

    /**
     * 路街道 编号
     */
    @Schema(name = "roadNumber", title = "路街道 编号")
    private String roadNumber;

    /**
     * 路街道 名称
     */
    @Schema(name = "road", title = "路街道 名称")
    private String road;

    @Schema(name = "roadAlias", title = "路别名")
    private String roadAlias;

    /**
     * 叶子节点id
     */
    @Schema(name = "addressId", title = "叶子节点id")
    private Long addressId;


    /**
     * 地址链数组
     */
    @Schema(name = "addressChain", title = "地址链数组")
    private List<AddressTreeVO> addressChain;

    /**
     * 格式化后最小节点id
     */
    @Schema(name = "miniAreaId", title = "格式化后最小节点id")
    private Long miniAreaId;

    @Schema(name = "eduAddressId", title = "edu_address主键")
    private String eduAddressId;

}
